package com.zjb.wxlisener.service.impl;

import com.zjb.wxlisener.JavaBean.Music;
import com.zjb.wxlisener.mapper.SearchMapper;
import com.zjb.wxlisener.service.SearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SearchServiceimpl implements SearchService {
    @Autowired
    SearchMapper searchMapper;


    @Override
    public List<Music> selectSongs(String name, String author) {
        return searchMapper.selectSongs(name, author);
    }
}
